package cn.onlineclass.entity;
import java.util.Date;

public class OMajor {

  private long id;
  private String name;
  private boolean inuse;
  private Date createtime;
  private Date modifytime;
  private String description;
  private long ratationid;


  public OMajor() {
  }

  public OMajor(String name, boolean inuse, Date createtime, Date modifytime, String description, long ratationid) {
    this.name = name;
    this.inuse = inuse;
    this.createtime = createtime;
    this.modifytime = modifytime;
    this.description = description;
    this.ratationid = ratationid;
  }

  public OMajor(long id, String name, boolean inuse, Date createtime, Date modifytime, String description, long ratationid) {
    this.id = id;
    this.name = name;
    this.inuse = inuse;
    this.createtime = createtime;
    this.modifytime = modifytime;
    this.description = description;
    this.ratationid = ratationid;
  }


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public boolean getInuse() {
    return inuse;
  }

  public void setInuse(boolean inuse) {
    this.inuse = inuse;
  }


  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }


  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public long getRatationid() {
    return ratationid;
  }

  public void setRatationid(long ratationid) {
    this.ratationid = ratationid;
  }

}
